/**
 * 常用函数导出全局变量，为开发提供便利
 */
import '@gnlab/utils/env-react/global'

import { css as cssLib } from '@emotion/react'
// import { OrderedMap as OrderedMapLib, OrderedSet as OrderedSetLib } from 'immutable'
// import { Observable as ObservableLib, Subject as SubjectLib } from 'rxjs'

declare global {
  const css: typeof cssLib
  // const OrderedMap: typeof OrderedMapLib
  // const OrderedSet: typeof OrderedSetLib
  // const Observable: typeof ObservableLib
  // const Subject: typeof SubjectLib

  interface Window {
    css: typeof cssLib
    // OrderedMap: typeof OrderedMapLib
    // OrderedSet: typeof OrderedSetLib
    // Observable: typeof ObservableLib
    // Subject: typeof SubjectLib
  }
}

window.css = cssLib
// window.OrderedMap = OrderedMapLib
// window.OrderedSet = OrderedSetLib
// window.Observable = ObservableLib
// window.Subject = SubjectLib
